function init() {
	tinyMCEPopup.resizeToInnerSize();
}

function insertEmotion(file_name) {
	var html = '<img src="' + window.opener.ui['emoticons'] + file_name + '" />';
	
	tinyMCE.execCommand('mceInsertContent', false, html);
	
	tinyMCEPopup.close();
}
